/*
 * Copyright (C) 2016 yixun All Rights Reserved.
 * 
 * Customer.java
 */
package com.emm.yixun.common.model.appDto;
import java.io.Serializable;

import com.emm.yixun.common.app.annotation.TYWValid;

public class TimeConditionAnalysisReq implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;
	
	//商家Id
	@TYWValid(min=1,max=20)
	private Long merchantId;
	
	//项目编码
	@TYWValid(min=1,max=50)
	private String projectCode;

	//成绩时间类型：1、今天（默认）；2、昨天；3、本周；4、上周；5、本月；6、上月；7、近三月；8、今年
	@TYWValid(min=0,max=1)
	private String gradesTimeType;
	
	//成绩开始时间：格式yyyy-MM-dd
	@TYWValid(min=0,max=19)
	private String gradesStartTime;
	
	//成绩结束时间：格式yyyy-MM-dd
	@TYWValid(min=0,max=19)
	private String gradesEndTime;
	
	//月指标类型：1、本月；2、上月；3、近三月；4、近六月
	@TYWValid(min=0,max=1)
	private String monthlyType;
	
	//月指标开始时间：格式yyyy-MM
	@TYWValid(min=0,max=19)
	private String monthlyStartTime;
	
	//月指标结束时间：格式yyyy-MM
	@TYWValid(min=0,max=19)
	private String monthlyEndTime;
	
	//年指标时间：格式yyyy
	@TYWValid(min=0,max=19)
	private String yearTime;

	public Long getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public String getGradesTimeType() {
		return gradesTimeType;
	}

	public void setGradesTimeType(String gradesTimeType) {
		this.gradesTimeType = gradesTimeType;
	}

	public String getGradesStartTime() {
		return gradesStartTime;
	}

	public void setGradesStartTime(String gradesStartTime) {
		this.gradesStartTime = gradesStartTime;
	}

	public String getGradesEndTime() {
		return gradesEndTime;
	}

	public void setGradesEndTime(String gradesEndTime) {
		this.gradesEndTime = gradesEndTime;
	}

	public String getMonthlyType() {
		return monthlyType;
	}

	public void setMonthlyType(String monthlyType) {
		this.monthlyType = monthlyType;
	}

	public String getMonthlyStartTime() {
		return monthlyStartTime;
	}

	public void setMonthlyStartTime(String monthlyStartTime) {
		this.monthlyStartTime = monthlyStartTime;
	}

	public String getMonthlyEndTime() {
		return monthlyEndTime;
	}

	public void setMonthlyEndTime(String monthlyEndTime) {
		this.monthlyEndTime = monthlyEndTime;
	}

	public String getYearTime() {
		return yearTime;
	}

	public void setYearTime(String yearTime) {
		this.yearTime = yearTime;
	}

}
